#include "kernel.h"

void kmain( void* mbd, unsigned int magic )
{
	multiboot_info_t * mboot = (multiboot_info_t *) mbd;

	if ( magic != 0x2BADB002 )
	{
		/* Something went not according to specs. Print an error */
		/* message and halt, but do *not* rely on the multiboot */
		/* data structure. */
	}
	gdt_install();
	init_video();
	settextcolor(4,7);
	cls();
	puts((schar*)mboot->boot_loader_name);
}